home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 November / Chip Kasım 1999.iso / drive / sid / readme.txt next >
Encoding:
Text File  |  1999-03-24  |  9.4 KB  |  246 lines

  1. SIDchanger(TM) by PowerQuest(R)
  2. Version 3.00
  3.  
  4. Copyright 1997-1999, PowerQuest Corporation.
  5. All Rights Reserved. 
  6.  
  7. ---------------------------------------------------------------------
  8. TABLE OF CONTENTS
  9.  
  10. 1.  Overview
  11. 2.  Command line interface
  12. 3.  Instructions
  13. 4.  Running SIDchanger with Drive Image(TM)
  14. 5.  Fixes in version 3.00
  15. 6.  Additional information
  16.  
  17.  
  18. ---------------------------------------------------------------------
  19. OVERVIEW
  20.  
  21. PowerQuest offers powerful solutions to ensure that the imaging of
  22. Windows NT workstations is fast, simple and secure.  This SID 
  23. replacement utility has been working consistently in our lab and at 
  24. selected beta sites.  However, because of the complex nature of this 
  25. solution, we will continue to test and update this utility to ensure 
  26. that it functions reliably.  When updates become available, they will 
  27. be posted on the download updates section on our web site.
  28.     
  29. PowerQuest has built a reputation for quality and expertise with 
  30. hard-disk utilities and wants, with your help, to build the very best 
  31. solution for Windows NT installations.  PowerQuest is attempting to 
  32. get Microsoft's cooperation to permanently solve the problem. 
  33.  
  34. PowerQuest SIDchanger was developed for the following purposes: 
  35.  
  36.     1)  To identify the current computer SID and replace it with a
  37.         new SID.
  38.  
  39.     2)  To change the NT computer name.  Note: PowerQuest recommends
  40.         using PQ_COMPUTERNAME as the computer name when the original
  41.         computer is imaged to reduce the likelihood of incorrectly
  42.         modifying the registry files during computer name replacement.
  43.         However, in this version, any computer name may be replaced
  44.         with confirmation from the user.  The original and new
  45.         computer names must be of equal length.  If needed, the new
  46.         name will be automatically padded with '_' followed by as
  47.         many '0' characters as needed to synchronize the length.
  48.  
  49.  
  50. ---------------------------------------------------------------------
  51. COMMAND LINE INTERFACE
  52.  
  53.     sidchngr [/s] | [<part_id> <\windir> [/n] [/i] [/e] [/r]
  54.              [/ce[=oldName]]] [/cr=[oldName],newName]
  55.              [/a[=d[,d]]] [/b]]
  56.  
  57. Where:
  58.  
  59.     /s          Returns a list of partitions with part_ids
  60.  
  61.     part_id     ID of partition containing registry to change
  62.  
  63.     windir      Specifies the windows directory (e.g., \winnt)
  64.  
  65.     /n          No file system integrity check
  66.  
  67.     /i          Identifies the computer SID
  68.  
  69.     /e          Enumerates all instances of the computer SID
  70.  
  71.     /r          Replaces all instances of the computer SID
  72.  
  73.     /ce[=oldName] Enumerates all instances of the computer name
  74.                 (If oldName is not specified, PQ_COMPUTERNAME is used.)
  75.  
  76.     /cr=[oldName],newName  Replaces computer name oldName with newName
  77.                 (If oldName is not specified, PQ_COMPUTERNAME is used.)
  78.  
  79.     /a[=d[,d]]  Limits NTFS file system SID search to partitions listed
  80.                 (If none listed, only partition 'part_id' is searched.)
  81.                 (If not specified, all NTFS partitions are searched.)
  82.  
  83.     /b          Reboots the computer after successful completion
  84.  
  85.  
  86. ---------------------------------------------------------------------
  87. INSTRUCTIONS
  88.  
  89. Sidchngr.exe is a true DOS program and may be run from floppy or a 
  90. hard drive.  SIDchanger will not run in an NT DOS Session.  Follow 
  91. these steps to change the computer SID and computer name on your NT 
  92. workstation.
  93.  
  94. 1: Boot real DOS.
  95.  
  96. 2: Type "sidchngr /s"
  97.  
  98.    -    This will give you a list of partitions on your hard drive.  
  99.         The far right column contains partition IDs for each partition.
  100.         This ID will be used by SIDchanger to know which partition 
  101.         contains the NT system.
  102.  
  103. 3: Type "sidchngr <part_id> <\windir> /i"
  104.  
  105.    -    For example, "sidchngr 0 \winnt /i"
  106.  
  107.    -    This will identify the computer SID and display it on the 
  108.         screen.
  109.  
  110. 4: Type "sidchngr <part_id> <\windir> /e"
  111.  
  112.    -    This will enumerate all instances of the computer SID
  113.         and tell how many instances were found in the given
  114.         file or volume.
  115.  
  116. 5: Type "sidchngr <part_id> <\windir> /r"
  117.  
  118.    -    This will replace the computer SID with a new SID that is
  119.         statistically unique.
  120.     
  121. 6: Type "sidchngr <part_id> <\windir> /ce=oldCompName"
  122.  
  123.    -    This will enumerate all instances of the computer name
  124.         and tell how many instances were found in the given
  125.         file.
  126.  
  127.    -    If oldCompName is not specified, PQ_COMPUTERNAME will be used.
  128.  
  129. 7: Type "sidchngr <part_id> <\windir> /cr=oldCompName,newCompName"
  130.  
  131.    -    This will replace the old computer name with the new name.
  132.  
  133.    -    If oldCompName is not specified, PQ_COMPUTERNAME will be used.
  134.         The new name is required and a ',' character should precede it.
  135.  
  136.    -    If newCompName is shorter than oldCompName, the new name will
  137.         be automatically padded with '_' followed by as many '0'
  138.         characters as needed to synchronize the length.
  139.  
  140.         Confirmation of the name change is required before the
  141.         replacement occurs unless oldCompName is PQ_COMPUTERNAME and
  142.         newCompName is of equal length, or the command line option is
  143.         specified to override the confirmation.  (See Unattended Use
  144.         for details.)
  145.  
  146.         For example, "sidchngr 0 \winnt /cr=PQNAME,FRED" will result in
  147.         the new computer name "FRED_0".
  148.     
  149. Alternative for steps 4 - 7:
  150.  
  151. 8: Type "sidchngr <part_id> <\windir> /e /ce=oldCompName"
  152.  
  153.    -    This will enumerate all instances of the computer SID and the
  154.         computer name (combining steps 4 and 6 above).
  155.  
  156. 9: Type "sidchngr <part_id> <\windir> /r /cr=oldCompName,newCompName"
  157.  
  158.    -    This will replace all instances of the computer SID and the
  159.         computer name (combining steps 5 and 7 above).
  160.  
  161. Unattended Use:
  162.  
  163.    -    Overriding confirmation of computer name replacement
  164.  
  165.         Replacement of the computer name is accomplished by replacing
  166.         every occurrence of the old computer name found in the
  167.         registry files.  If the old name is NOT unique, the replacement
  168.         could adversely affect your system, possibly making Windows NT
  169.         unable to start up.
  170.  
  171.         For example, if the old name was IS, and the name will change
  172.         to PR, doing the replacement will replace every instance of IS,
  173.         without regard to case, found in the registry.  This will change
  174.         things like mapisrvr.exe to mapPRrvr.exe, PSDispatch to
  175.         PSDPRpatch, etc.
  176.  
  177.         Because of the possible consequences of this replacement,
  178.         you MUST confirm the replacement by re-entering the new
  179.     computer name when prompted for confirmation.  However, this
  180.         confirmation may take place on the command line by specifying
  181.         "/o=newCompName" as the final option.  The newCompName MUST
  182.         match the new name specified with the /cr option.
  183.      
  184.    Example: "sidchngr <part_id> <\windir> /r /cr=OldCompName,NewCompName
  185.           /o=NewCompName"
  186.  
  187.  
  188. ----------------------------------------------------------------------
  189. RUNNING SIDCHANGER WITH DRIVE IMAGE
  190.  
  191.  
  192.     SIDchanger can be run as an integrated part of the Drive Image
  193.     restore process by executing the proper commands in a batch file.
  194.  
  195.     The batch file 'sid.bat' should contain the following three lines
  196.     (not including the line numbers):
  197.  
  198.     1.  [dir\]pqdi.exe /cmd=f:\dir\script.txt /img=f:\dir\%1.pqi
  199.         /log=f:\dir\%1.log /err=f:\dir\%1.err
  200.  
  201.     2.  [dir\]sidchngr.exe  0 \winnt /e /ce=MIS000 >f:\dir\%1.enu
  202.  
  203.     3.  [dir\]sidchngr.exe 0 \winnt /r /cr=MIS000,%2 /b >f:\dir\%2.chg
  204.  
  205.         Note: %1 and %2 are DOS arguments to the batch file where
  206.               %1= <image file name> and %2= <new computer name>
  207.  
  208.     Example: > sid.bat PQImage prg024
  209.  
  210.     The above command would restore the image contained in the
  211.     PQImage.pqi file, enumerate the SID and the computer name (saving
  212.     the information to a log file), replace the SID, and rename the
  213.     computer PRG024 (logging that information as well), and reboot the
  214.     computer.
  215.  
  216.     Additionally, the "/o" option described above could be used in the
  217.     batch file so that no user intervention is needed. For example,
  218.     replace line 3 in Sid.bat above with the following:
  219.  
  220.         3. [dir\]sidchngr.exe  0 \winnt /n /r /cr=MIS000,%2 /b /o=%2
  221.            >f:\dir\%1.chg
  222.  
  223.     In this version, SIDchanger is not linked in directly with the
  224.     Drive Image executable, so PowerQuest can continue to update this
  225.     utility easily and quickly as new information becomes available.
  226.  
  227.  
  228. ---------------------------------------------------------------------
  229. FIXES IN VERSION 3.00
  230.  
  231.  
  232.    -    Added support for Windows NT Service Pack 4 (Added in 3.00)
  233.    -    Added ability to specify some important Drive Image switches
  234.         from the command line.  These include /IEB, /IFC, /IPE, /UEB,
  235.         and /USG.  See the Drive Image documentation for a description
  236.         of these switches.  (Added in 3.0)
  237.    -    Added reboot option after successful completion (Added in 2.00)
  238.    -    Added ability to limit search for the computer SID to the file
  239.         system in selected NTFS partitions.  (Added in 2.00)
  240.  
  241. ---------------------------------------------------------------------
  242. ADDITIONAL INFORMATION
  243.  
  244.  
  245. For more information on the Windows NT SID issue, visit our web site
  246. at http://www.powerquest.com, or send e-mail to sid@powerquest.com.